package com.lin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
/*菜单信息*/
public class SysMenus {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private Integer parentId;

    private Integer seq;

    private String name;

    private String tip;

    private String descn;

    private String imageUrl;

    private String linkUrl;

    private String target;

    private String status;

    //存放子菜单
    @TableField(exist = false)
    private List<SysMenus> sysMenus;

    //SysUsers用户类
    @TableField(exist = false)
    private SysUsers sysUsers;

}